const svgFiles = import.meta.globEager("@/assets/icons/**/*.svg");
const iconList = Object.keys(svgFiles);

export const getNameList = () => {
  return iconList.map((item) => {
    return item.replace(/(.*\/)*([^.]+).*/gi, "$2");
  });
};

// 获取所有 SymbolId
import allSymbolId from "virtual:svg-icons-names";

console.log(allSymbolId);
